package com.yunxiao.cloud.sharding.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunxiao.cloud.sharding.entity.QueryParam;
import com.yunxiao.cloud.sharding.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @description: UserMapper
 * @date: 2019/12/25 13:14
 * @author: yunxiao
 * @version: 1.0
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**
     * 返回结果集
     * @param param user对象
     * @return
     */
    List<User> selectByParam(QueryParam param);
}
